﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt.redshift
{
	// Token: 0x02000114 RID: 276
	public class TRedshiftEnd : TCustomSqlStatement
	{
		// Token: 0x06000900 RID: 2304 RVA: 0x00302CCD File Offset: 0x00300ECD
		public TRedshiftEnd(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstredshiftEnd;
		}

		// Token: 0x06000901 RID: 2305 RVA: 0x00302CE1 File Offset: 0x00300EE1
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			base.doParseStatement(psql);
			return 0;
		}

		// Token: 0x06000902 RID: 2306 RVA: 0x00302CF6 File Offset: 0x00300EF6
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06000903 RID: 2307 RVA: 0x00302D06 File Offset: 0x00300F06
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}
	}
}
